package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class LogisticsVO {

    @ApiModelProperty(value = "订单ID")
    private Integer orderId;

    @ApiModelProperty(value = "快递名字")
    private String name;

    @ApiModelProperty(value = "物流单号")
    private String logisticsId;

    @ApiModelProperty(value = "物流信息")
    @JsonIgnore
    private String logisticsData;

    @ApiModelProperty(value = "快递状态 0:查询异常 1:暂无记录,单号无跟踪记录 2:在途中,即货物处于运输过程中 3:派送中 4:已签收 5: 拒收,用户拒签 6:疑难件,因为某些原因无法派送 7:无效单 8:超时单 9:签收失败 10:退回签收")
    private Integer status;

    private List<LogisticsData> data;

    @Data
    public static class LogisticsData {

        @ApiModelProperty(value = "时间")
        private String time;

        @ApiModelProperty(value = "内容")
        private String content;

    }

}
